namespace drg_group.changzhou_2022{
    public class BD2
    {
        public static String group(MedicalRecord record)
        {
            String[] adrg_zd={};
            String[] adrg_zd1={};
            String[] adrg_ss={"01.1000x001","01.2001","01.2002","01.2200","02.9300x001","02.9302","02.9404","03.9300x003","03.9300x004","03.9400x002","04.9200x001","04.9200x002","04.9200x003","04.9202","04.9203","04.9300x001","86.0900x009","86.9401","86.9402","86.9500x001","86.9500x002","86.9501","86.9502","86.9600x001","86.9600x002","86.9600x006","86.9601","86.9602","86.9701","86.9702","86.9800x001","86.9800x002","86.9801","86.9802"};
            String[] adrg_ss1={};
            
            if (true && record.ssList!=null &&record.ssList.Length>0 && adrg_ss.Contains(record.ssList[0])){
                Base.groupMessages.putMessage(record.Index,"符合BD2入组条件，匹配规则：主手术匹配");
                    
                if (MDCB_DRG.BD29_group(record))
                {
                    return "BD29";
                }

                return "BD2";
            }else{
                return "";
            }
        }
    }
}